package altanovela.hbsp.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="DATA_MAHASISWA")
public class Mahasiswa {
	private String idmhs;
	private String nama;
	private String gender;
	private String jurusan;

	@Id
	@Column(name="ID_MHS", columnDefinition="VARCHAR(7)")
	public String getIdmhs() {
		return idmhs;
	}
	public void setIdmhs(String idmhs) {
		this.idmhs = idmhs;
	}
	@Column(name="NAMA_MHS", columnDefinition="VARCHAR(30)")
	public String getNama() {
		return nama;
	}
	public void setNama(String nama) {
		this.nama = nama;
	}
	@Column(name="JK_MHS", columnDefinition="VARCHAR(2)")
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	@Column(name="JURUSAN", columnDefinition="VARCHAR(20)")
	public String getJurusan() {
		return jurusan;
	}
	public void setJurusan(String jurusan) {
		this.jurusan = jurusan;
	}
}
